package com.example.studentportrait.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;



@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("assessment_major_question_bank")
public class AssessmentQuestion implements Serializable {
    @TableId
    private Integer id;

    private Integer assessmentId;

    private String title;

    private String questionContent;

    private String questionType;

    private String questionImage;

    @TableField("option_1")
    private String option1;

    @TableField("option_2")
    private String option2;

    @TableField("option_3")
    private String option3;

    @TableField("option_4")
    private String option4;

    private String answer;

    private Integer difficultyLevel;

    private Integer isDelete;

    @TableField(fill= FieldFill.INSERT)
    private String createUser;

    @TableField(fill= FieldFill.INSERT)
    private String updateUser;

    @TableField(fill= FieldFill.INSERT)
    private Date createTime;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Date updateTime;
}